﻿<%@ Page Language="C#" AutoEventWireup="true" validateRequest="false"   CodeBehind="kefuchat.aspx.cs" Inherits="weba.kefuchat" %>

<%@ Register Assembly="C1.Web.Wijmo.Controls.4, Version=4.0.20133.145, Culture=neutral, PublicKeyToken=9b75583953471eea" Namespace="C1.Web.Wijmo.Controls.C1GridView" TagPrefix="wijmo" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta  http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
<script type="text/javascript" src="Scripts/jquery-1.8.2.min.js"></script>
    <script type="text/javascript"src="xheditor-1.2.1.min.js"></script>

        <script type="text/javascript">
            function initialize() {
                $('#TextArea1').xheditor({ tools: 'none' });
                $('#TextArea2').xheditor({ tools: 'simple' });
            }
    </script>
    <link href="css.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        .divkf {
            width: 120px;
            height: 35px;
            font-size: small;
            white-space: pre-wrap;
        }
        
        .h3css {
            margin: 4px auto 4px auto;
            color: #003366;
            font-weight: normal;
            font-size: 12px;
            background-image: url(images/bg_Listitle.gif);
            text-align: center;
            background-repeat: no-repeat;
            height: 38px;
            width: 130px;
            cursor: hand;
            line-height: 15px;
            padding-top: 4px;
            padding-right: 0px;
            padding-left: 0px;
        }

        
    </style>
</head>
<body onload="initialize()">
    <form id="form1" runat="server">
    <div>
     
      <table width="635" height="631" border="0" id="tb1" cellpadding="0" cellspacing="0">
          <tr>
            <td height="48" colspan="2" ><img src="Images/PT_logo.gif" width="136" height="49"></td>
            <td width="307"  height="48"  valign="top"><div class="dja"></div></td>
            <td colspan="3"  height="48" ><img src="Images/PT_LibName.gif" width="195" height="49"></td>
          </tr>
          <tr>
            <td width="3" rowspan="5"  valign="top" > </td>
            <td width="133" height="26"><div class="pt-chatheader">您正与 <strong><span id="ToUserID">客服1</span></strong> 交谈</div></td>
            <td height="26"><div class="pt-chatheader">当前时间<%=System.DateTime.Now.ToShortDateString() %>></div></td>
            <td width="3" rowspan="4"></td>
            <td width="186"><div class="zjsm"><strong></span><span id="MyUserId">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;咨询者</span><span></strong></div></td>
            <td width="4" rowspan="4" valign="top" > </td>
          </tr>
          <tr>
            <td height="328" colspan="2">
                <textarea id="TextArea1" runat="server" style=" width: 440px; height: 328px"></textarea>
              </td>
            <td rowspan="3" valign="top" > <div id="Engin_UserList" ><h3 style="height: 38px" class="h3css"><span id="OnlineCount" >在线人数<%=weba.kefuchat.ycount.ToString() %></span></h3> 
                
               <%-- <wijmo:C1GridView ID="C1GridView1" class="online" runat="server" AutogenerateColumns="False" GroupAreaCaption="将这里的一列拖去与那一列分组。" LoadingText="载入中...">
                    <Columns>
                        <wijmo:C1TemplateField>
                            <ItemTemplate>
                                <asp:CheckBox ID="ykck" runat="server" />
                                <asp:Label ID="yklb" runat="server" Text="Label"></asp:Label>
                            </ItemTemplate>
                        </wijmo:C1TemplateField>
                    </Columns>
                </wijmo:C1GridView>--%>
             
                <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="seionid" Width="130px" CellPadding="1" ForeColor="#333333" GridLines="None">
                    <AlternatingRowStyle BackColor="White" />
                    <Columns>
                        <asp:TemplateField>
                            
                            <HeaderTemplate>
                               
                                <asp:Button ID="Button3" runat="server" OnClick="Button3_Click" Text="全选" Width="40px" Height="20px"/>
                                <asp:Button ID="Button4" runat="server" OnClick="Button4_Click" Text="不选" Width="35px" Height="20px" />

                             
                            </HeaderTemplate>
                            
                            <ItemTemplate>
                                
                               <asp:CheckBox ID="ykck" runat="server" />游客id
                                <br/>
                                <asp:Label ID="yklb" runat="server" Text='<%# Eval("seionid") %>' Width="120px"></asp:Label>
                            </ItemTemplate>
                            <HeaderStyle Height="33px" Width="130px" />
                            <ItemStyle Height="35px" Width="130px" />
                        </asp:TemplateField>
                    </Columns>
                    <EditRowStyle BackColor="#7C6F57" />
                    <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
                    <HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="#666666" ForeColor="White" HorizontalAlign="Center" />
                    <RowStyle BackColor="#E3EAEB" />
                    <SelectedRowStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
                    <SortedAscendingCellStyle BackColor="#F8FAFA" />
                    <SortedAscendingHeaderStyle BackColor="#246B61" />
                    <SortedDescendingCellStyle BackColor="#D4DFE1" />
                    <SortedDescendingHeaderStyle BackColor="#15524A" />
                </asp:GridView>
                </div>
                <%--<asp:Label ID="Label1" class="online" runat="server" Text="游客1" Height="30px" Width="111px">--%><%--</asp:Label>--%>             </td>
          </tr>
          <tr>
            <td height="25" colspan="2"><div id="pwtol"></div></td>
          </tr>
          <tr>
            <td height="160" colspan="2"><textarea id="TextArea2" runat="server" style="width: 439px; height: 160px"></textarea></td>
          </tr>
          <tr>
            <td height="32" colspan="4" valign="top"><div class="btbor" >
              <div class="divbtn">
                  <asp:Button ID="Button5" runat="server" class="sendon" Text="清理" OnClick="Button5_Click" />
                   <asp:Button ID="Button2" runat="server"  class="sendon" Text="刷新" OnClick="Button2_Click"   />
            <asp:Button ID="Button1" runat="server"  class="sendon" Text="发 送"  OnClick="Button1_Click" /></div></div></td>
            <td >&nbsp;</td>
          </tr>
  </table> 
   

    </div>
    </form>
</body>
</html>

